import { replace, includes } from 'lodash'

export const removeHmS = str => replace(str, /(\d{4}-\d{1,2}-\d{1,2}).*/, (item, g1) => g1)
export const isSpecial = contractPropertyId => includes([
    '54f8a2b7-fce7-11e4-bed8-00155d02c832', // 明源签约-直属  
    '7f828b1b-fce8-11e4-bed8-00155d02c832', // 明源签约-联营
    '7f856e81-fce8-11e4-bed8-00155d02c832', // 联营签约 - 云客结算
], contractPropertyId)